<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>NioWebServer</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            color: #333;
        }
        h1 {
            color: #2c3e50;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }
        h2 {
            color: #2980b9;
            margin-top: 30px;
        }
        code {
            background-color: #f8f9fa;
            padding: 2px 4px;
            border-radius: 4px;
            font-family: Consolas, monospace;
        }
        pre {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 5px;
            overflow-x: auto;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
        .note {
            background-color: #e7f5fe;
            border-left: 4px solid #3498db;
            padding: 10px;
            margin: 15px 0;
        }
        .warning {
            background-color: #fff3e0;
            border-left: 4px solid #ffa726;
            padding: 10px;
            margin: 15px 0;
        }
    </style>
</head>
<body>
    <h1>NioWebServer支持接口列表</h1>
    <table id="nio_server">
        <!-- <caption>
            url-mapping列表
        </caption> -->
        <thead>
            <tr>
                <th>请求资源</th>
                <th>请求方法</th>
                <th>资源属性</th>
                <th>资源格式</th>
                <th>URL链接</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <th scope="row">/index.html</th>
                <td>GET</td>
                <td>静态</td>
                <td>HTML文档</td>
                <td><a href="http://localhost:8080/index.html" target="_self">http://localhost:8080/index.html</td>
            </tr>
            <tr>
                <th scope="row">/metic</th>
                <td>GET</td>
                <td>动态</td>
                <td>JSON字符串</td>
                <td><a href="http://localhost:8080/metric" target="_self">http://localhost:8080/metric</td>
            </tr>    
        
            <tr>
                <th scope="row">/nio</th>
                <td>GET</td>
                <td>静态</td>
                <td>HTML文档</td>
                <td><a href="http://localhost:8080/nio" target="_self">http://localhost:8080/nio</td>
                
            </tr>
            <tr>
                <th scope="row">/git</th>
                <td>GET</td>
                <td>静态</td>
                <td>HTML文档</td>
                <td><a href="http://localhost:8080/git" target="_self">http://localhost:8080/git</td>
            </tr>
            <tr>
                <th scope="row">/server</th>
                <td>GET</td>
                <td>静态</td>
                <td>HTML文档</td>
                <td><a href="http://localhost:8080/server" target="_self">http://localhost:8080/server</td>
            </tr>
            <tr>
                <th scope="row">/</th>
                <td>GET</td>
                <td>静态</td>
                <td>HTML文档</td>
                <td><a href="http://localhost:8080" target="_self">http://localhost:8080</td>
            </tr>
        </tbody>
    </table>
</body>
</html>